<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<HTML>
<HEAD>
<TITLE>Log in</TITLE>
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Login/Login.css" id="paramCSS"/>
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">

function depurar(action)
{
	var frm = document.forms[0];
	//Se controla que haya rellenado todos los campos
	if (frm.user.value==null || frm.password.value==null || frm.user.value=="" || frm.password.value=="") {
		mensaje(1);
		return false;
	}
	return true;
}
function onloadFunctions() {
    // new TypeAheadCombo("sectionDetail");
}
function buttonOK_click() {
    submitCommandForm('DEFAULT', false, null, '../secureApp/LoginHandler.html', '_top', true);
    return false;
}

</SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();onloadFunctions();limpiar();focoPrimerControl();porDefecto('buttonOK_click()');" onresize="resizeArea();">



<FORM method="POST" action="../secureApp/LoginHandler.html" name="frmIdentificacion" id="frmFormulario">
  <INPUT type="hidden" name="Command"></INPUT>


  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
    <tr>
      <td valign="top">
        <div class="Main_ContentPane_NavBar" id="tdtopButtons">
          <TABLE cellpadding="0" cellspacing="0" class="Main_ContentPane_NavBar" id="tdtopNavButtons">
            <TR class="Main_NavBar_bg">
              <TD width="100%"></TD>
              <TD><div class="Main_NavBar_bg_logo_left" /></TD>
              <TD class="Main_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><div class="Main_NavBar_logo" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" /></TD>
              <TD><div class="Main_NavBar_bg_logo_right" /></TD>
            </TR>
          </TABLE>
        </div>
        <div class="Login_ContentPane_ToolBar" id="paramToolBar">
        
          <table class="Login_ContentPane_ToolBar Login_ToolBar_bg" id="tdToolBar">
            <tr>
              <td width="100%"></td>
            </tr>
          </table>
        
        </div>

      <div class="Login_ContentPane" style="overflow: auto;" id="client">

        <table>

          <tr class="Login_Block_Separator_Top"><td></td></tr>

          <tr>

            <td class="Login_ContentCell">

              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td rowspan="2"><div class="Login_UserPicture"></div>
                  </td>
                  <td colspan="2" class="Login_Logo_Company_Container_Cell">
                    <div class="Login_Logo_Company_Container">
                      <img class="Login_Logo_Company" src="../../../../../web/images/blank.gif"></img>
                    </div>
                  </td>
                </tr>


                <tr><td height="25px"></td></tr>

                <tr>
                  <td class="TitleCell"><SPAN class="LabelText">Username</SPAN></td>
                  <td class="TextBox_ContentCell" colspan="2">
                    <input class="dojoValidateValid TextBox_TwoCells_width" type="text" maxlength="20" name="user"></input> 
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"><SPAN class="LabelText">Password</SPAN></td>
                  <td class="TextBox_ContentCell" colspan="2">
                    <input class="dojoValidateValid TextBox_TwoCells_width" type="password" maxlength="20" name="password"></input> 
                  </td>
                </tr>

                <tr><td height="20px"></td></tr>

                <tr>
                  <td></td>
                  <td class="Button_CenterAlign_ContentCell">
                    <div>
                      <a class="ButtonLink" href="#"
                        onfocus="this.className='ButtonLink_hover'; window.status='Login'; return true;"
                        onblur="this.className='ButtonLink'; window.status=''; return true;"
                        onkeypress="this.className='ButtonLink_active'; return true;"
                        onkeyup="this.className='ButtonLink_hover'; return true;"
                        onclick="buttonOK_click();">
                        <table class="Button"
                          onmousedown="this.className='Button_active'; return true;"
                          onmouseup="this.className='Button'; return true;"
                          onmouseover="this.className='Button_hover'; window.status='Login'; return true;"
                          onmouseout="this.className='Button'; window.status=''; return true;"
                          id="fieldTable">
                          <tr>
                            <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Logn" title="Login" src="../../../../../web/images/blank.gif" border=0 id="fieldButton"/></td>
                            <td class="Button_text Button_width">Login</td>
                            <td class="Button_right"></td>
                          </tr>
                        </table>
                      </a>
                    </div>
                  </td>
                  <td>
                  </td>
                </tr>

              </table>
            </div>

            </td>
            <td></td>

          </tr>

          <tr class="Login_Block_Separator_Middle"><td></td></tr>

          <tr>

            <td class="Login_ContentCell">

              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">For Support Contact:</span></td>

                  <td colspan="2" rowspan="2" class="Login_Logo_Support_Container_Cell">
                    <div class="Login_Logo_Support_Container">
                      <img class="Login_Logo_Support" src="../../../../../web/images/blank.gif"></img>
                    </div>
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">www.your-it-service.com</span></td>
                </tr>

              </table>

            </td>

          </tr>

          <tr class="Login_Block_Separator_Middle"><td></td></tr>

          <tr>

            <td class="Login_ContentCell">

              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">Project hosted at</span></td>

                  <td colspan="2" rowspan="2" class="Login_Logo_SourceForge_Container_Cell">
                    <a href="http://sourceforge.net/projects/openbravo/" target="_blank" title="Openbravo&#39;s SourceForge"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=162271&amp;type=5" border="0" alt="SourceForge.net Logo" width="210" height="62" /></a>
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">www.sourceforge.net</span></td>
                </tr>

              </table>

            </td>

          </tr>

          <tr class="Login_Block_Separator_Middle"><td></td></tr>
          <tr><td class="Login_Copyright_Container_Cell"><span class="Login_Copyright_text">Copyright Openbravo 2001-2007</span></td></tr>

        </table>

      </div>

        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Bottom" id="tdbottomSeparator">
          <TR>
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
          </TR>
        </TABLE></td>
      <td valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_right"></TD></TR>
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
        </TABLE>
      </td>
    </tr>
  </table>

</FORM>
</BODY>
</HTML>
